﻿using Microsoft.AspNetCore.Http;
using SiyinPractice.Interface.Core;
using SiyinPractice.Shared.FileByUploadAndDown.Dto.File;

namespace SiyinPractice.Interface.FileByUploadAndDown
{
    public interface IFileUploadAndDownService : INamedEntityService<FileUploadAndDownDto, FileUploadAndDownSearchPagedDto, CreateFileUploadAndDownDto>
    {
        Task<FileUploadAndDownDto> GetFlieByFileName(string fileName);

        Task<int> UploadFile(IFormFile file, string remarks);
    }
}